﻿<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeFile="PrdtListByBrand.aspx.cs" Inherits="PrdtListByBrand" Title="无标题页" %>

<%@ Register src="UserControls/CommonProductsList.ascx" tagname="CommonProductsList" tagprefix="uc1" %>

<%@ Register src="UserControls/ProductTypeNavigator.ascx" tagname="ProductTypeNavigator" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .cont_brand
        {
            width: 619px;
            font-size:9pt;
            padding-top:30px;
        }
        .navi_brand
        {
            width: 200px;
            
            font-size:9pt;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   <asp:UpdatePanel ID="UpdatePanel1" runat="server">
   <ContentTemplate>
   <table >
        <tr>
            <td class="navi_brand" valign="top">
                <input id="hidBrand" type="hidden" runat="server" />
                <asp:ListView ID="lvBrandType" runat="server" 
                    onitemcommand="lvBrandType_ItemCommand">
                  <GroupTemplate>
                    <tr>
                      <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                    </tr>
                  </GroupTemplate>
                <LayoutTemplate>
                <p style="text-align:left; font-size:10pt; font-weight:600">商品类型</p>
                <div style="text-align:justify;">
                 <table>
                    <asp:PlaceHolder ID="groupPlaceholder" runat="server" />
                 </table>
                 </div>
                 <asp:DataPager Visible="false" ID="DataPager1" PagedControlID="lvBrandType" PageSize="10" runat="server"><Fields><asp:NumericPagerField /></Fields></asp:DataPager>
                </LayoutTemplate>
                <ItemTemplate>
                <td>
                    <asp:LinkButton ID="btnPrdtID" runat="server" CommandName="TypeName" CommandArgument='<%# Eval("ID") %>' Text='<%# Eval("TypeName") %>'></asp:LinkButton><br/>
                </td>
                </ItemTemplate>
                </asp:ListView>
            </td>
            <td class="cont_brand" rowspan="3" valign="top">
                <uc1:CommonProductsList ID="CommonProductsList1" runat="server" />
            </td>
        </tr>
        <tr>
            <td class="navi_brand" valign="top">
                <asp:ListView ID="lvPriceRange" runat="server"  GroupItemCount="1" 
                    onitemcommand="lvPriceRange_ItemCommand" >
                  <GroupTemplate>
                    <tr>
                      <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                    </tr>
                  </GroupTemplate>
                <LayoutTemplate>
                <p style="text-align:left; font-size:10pt; font-weight:600;">价格范围</p>
                <div style="text-align:justify">
                 <table>
                    <asp:PlaceHolder ID="groupPlaceholder" runat="server" />
                 </table>
                 </div>
                 <asp:DataPager Visible="false" ID="DataPager1" PagedControlID="lvPriceRange" PageSize="5" runat="server"><Fields><asp:NumericPagerField /></Fields></asp:DataPager>
                </LayoutTemplate>
                <ItemTemplate>
                <td>
                    <asp:LinkButton ID="btnPrdtID" runat="server" CommandName="TimeRange" CommandArgument='<%# Container.DataItem %>' Text='<%# Container.DataItem %>'>价格范围</asp:LinkButton><br/>
                </td>
                </ItemTemplate>
                </asp:ListView>
            </td>
        </tr>
        <tr>
            <td class="style3">
                &nbsp;</td>
        </tr>
    </table>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content_rightarea" Runat="Server">
</asp:Content>

